spectrum_convolve Module


Uses


Variables

Type Visibility Attributes Name Initial
integer(kind=int32), public, parameter :: SPCTRM_CENTRAL_CONVOLUTION = 50001

A flag for requesting the central portion of the convolution that is the same length as the input signal.

integer(kind=int32), public, parameter :: SPCTRM_FULL_CONVOLUTION = 50000

A flag for requesting a full convolution.


Functions

public pure function convolve(x, y, method) result(rst)

Computes the convolution of a signal and kernel.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(:)

The N-element signal.

real(kind=real64), intent(in) :: y(:)

The M-element kernel.

integer(kind=int32), intent(in), optional :: method

An optional input that dictates the expected convolution result. The following options are available.

Read more…

Return Value real(kind=real64), allocatable, (:)

The convolved result.